package com.share.dao.sysmgr;

import java.util.LinkedHashMap;
import java.util.List;

import com.share.bean.sysmgr.BackTreeMenu;
/**
 * 说明：后台管理树状菜单DAO接口
 * <br/>作者：杨浩泉
 * <br/>日期：2010-8-10
 */
public interface BackTreeMenuDao {

	public void saveBackTreeMenuDao(BackTreeMenu tree) throws RuntimeException ;
	
	public void deleteBackTreeMenuDao(BackTreeMenu tree) throws RuntimeException ;
	
	public void updateBackTreeMenuDao(BackTreeMenu tree) throws RuntimeException  ;
	
	public List<BackTreeMenu> findBackTreeMenuDao(String hql,String whereHQL,List<Object> param,LinkedHashMap<String, String> orderby) throws RuntimeException ;
	
	/**
	 *  根据树根ID查询
	 * @param id
	 * @return 返回树状结构
	 * @throws RuntimeException
	 */
	public BackTreeMenu loadBackTreeMenuDao(int id) throws RuntimeException ;
	
}
